➢ A Simple Example: Model Deployment in the Banking Sector
In the BFSI sector, model deployment can be seen in a bank’s credit risk assessment system. After training
and validating a credit scoring model using historical customer data, the model is deployed into the bank’s
production environment. Once live, it automatically evaluates new loan applications by analysing inputs such
as income, repayment history, and credit score, and generates a risk score or approval decision in real time.
The deployed model is continuously monitored for performance, bias, and regulatory compliance to ensure
accurate and fair financial decisions.
➢ Deployment in Data Science & Machine Learning
Here are common real-world examples:
•
•
•
•
A prediction model deployed as an API (eg: using FastApi in Python)
A Shiny / Dash / Streamlit app used by non-technical users
A batch analytics pipeline that runs nightly
A validated statistical workflow generating clinical outputs
Deployment turns analysis into action.
➢ Common Challenges
•
Environment differences (local vs production):
Code that works locally may fail in production due to differences in system setup, configurations, or
data access.
•
Dependency and package issues:
Missing or mismatched package versions in production can cause errors even when the code itself is
correct.
•
•
Performance and scalability:
Code tested on small datasets may not scale well with large data volumes or multiple users.
Monitoring failures or unexpected results:
Without proper monitoring and logging, it can be hard to detect and diagnose issues after
deployment.
These challenges are normal and are part of the learning curve toward building reliable, production-ready
data science solutions.
➢ Key Takeaway
Deployment is not an optional step.
It is the point where data science creates real-world impact.